package cn.credit.loan.dao.manager;

import org.apache.ibatis.annotations.Param;

import cn.credit.loan.entity.Manager;

/**
 * 业务经理类Dao层---Mapper接口
 * @author LI
 *
 */
public interface ManagerMapper {
	
	/**
	 * 业务登录系统
	 * @return
	 */
	public Manager managerlogin(@Param("managerName")String managerName,
								@Param("managerPwd")String managerPwd);
	/**
	 * 业务经理添加
	 * @param manager
	 * @return
	 */
	public int manageradd(Manager manager);
	
	/**
	 * 业务经理更新
	 * @param manager
	 * @return
	 */
	public int managerupdate(Manager manager);
	
	/**
	 * 业务经理删除
	 * @param manager
	 * @return
	 */
	public boolean managerdelete(int managerId);

}
